package net.sk.china.city.mapper;

import net.sk.china.city.domain.dto.analyse.CellVolunteerCountPair;
import net.sk.china.city.domain.dto.analyse.RegionPoint;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AnalyseMapper {

    List<RegionPoint> selectThisRegionLevelList(Long reginId);

    String selectRegionAncestorsById(Long regionId);

    CellVolunteerCountPair selectCellCountByAncestor(Long cellAncestor);

    List<RegionPoint> selectGridLevelList(Long townRegionId);

    List<RegionPoint> selectCountyLevelCellList(Long countyId);
}
